package src.test.client.view;

import src.test.client.presenter.BotonPresenter.ViewBoton;

import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.TextBox;

//recordar implementar la interface del presenter y asociar los componentes
public class BotonView extends AbsolutePanel implements ViewBoton{
	
	private Button sendButton1 ;
	private Button sendButton2 ;
	private TextBox texto1 ;
	public BotonView() {
		// TODO Auto-generated constructor stub
		init();
		
	
	}
	private void init() {
		// TODO Auto-generated method stub
		 sendButton1 = new Button("Boton1");
		 sendButton2 = new Button("Boton2");
		 texto1 = new TextBox();
	
		 this.add(texto1);
		 this.add(sendButton1);
		 this.add(sendButton2);
	}
	@Override
	public Button getSendButton2() {
		// TODO Auto-generated method stub
		return sendButton2;
	}
	@Override
	public Button getSendButton1() {
		// TODO Auto-generated method stub
		return sendButton1;
	}
	@Override
	public TextBox getTextBox1() {
		// TODO Auto-generated method stub
		return texto1;
	}
	



}
